<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesAdminClaimantsListing.aspx.cs" Inherits="GonzalesAdminClaimantsListing" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle"><asp:Label ID="Label_PageTitle" Text='Administration Panel' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="170" rowspan="2" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='Personnel :: Claimants Listing' /></td>
            <td width="8" rowspan="2" class="VerticalDivider"><p>&nbsp;</p>
                  <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p></td>
            <td valign="top"><asp:Table CellPadding="5" CellSpacing="0" ID="Table_MessageBox" Width="100%" runat="server" Visible="false">
              <asp:TableRow>
                <asp:TableCell CssClass="ErrorBox" ></asp:TableCell>
              </asp:TableRow>
            </asp:Table></td>
          </tr>
          <tr>
            <td valign="top">
                <table width="100%" border="0" cellpadding="2" cellspacing="0" class="FormBorder">
                    <tr>
                <td class="TableResultCriteriaBar">
                    <table width="100%" border="0" cellspacing="0" cellpadding="1">
                      <tr>
                        <td>
                            <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ByEntity" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_ByEntity_SelectedIndexChanged"></asp:DropDownList>
                            <asp:DropDownList ID="DropDownList_ByCompany" runat="server" OnSelectedIndexChanged="DropDownList_ByCompany_SelectedIndexChanged" CssClass="FormDropDown" AutoPostBack="True"></asp:DropDownList>                    
                            <asp:Button CssClass="FormButton" ID="Button_Add" runat="server" Text="Add" OnClick="Button_Add_Click" />
                          </td>
                        <td align="right"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortBy" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortBy_SelectedIndexChanged"></asp:DropDownList>
                                  <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortOrder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortOrder_SelectedIndexChanged"></asp:DropDownList>
                        </td>
                      </tr>
                    </table>
                </td>
              </tr>
                    <tr>
                        <td colspan="2" class="FormLineItem">
                            <asp:Label CssClass="FormField" ID="Label_ImportFile" runat="server" Text="Importing File:" />
                            <asp:FileUpload ID="FileUploadSource" with= "100%" runat="server" 
                                CssClass="FormButton" Width="219px" />
                            <asp:Button CssClass="FormButton" ID="Button_Import" runat="server" 
                                Text="Import" OnClick="Button_Import_Click" />
                            &nbsp;
                            <a href="Templates/EmpList.csv" class="NormalBodyText""><asp:Label ID="Label_Template" runat="server" Text="Download Template"></asp:Label></a>
                        </td>
                    </tr>                    
                    <tr>
                <td valign="top">
                    <asp:GridView ID="GridViewResult" runat="server" AllowPaging="false" OnRowCreated = "OnRowCreated" AutoGenerateColumns="False" CssClass="FormBorder" Width="100%" OnPageIndexChanging="GridViewResult_PageIndexChanging" CellPadding="5">
                        <Columns>
                            <asp:BoundField DataField="EmployeeIDWithLink" HeaderText="Employee ID" HtmlEncode="False">
                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ADName" HeaderText="Active Directory Name">
                                <ItemStyle HorizontalAlign="Left" Width="150px" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ApprovingLimit" HeaderText="Approving Limit">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ApprovingRoute" HeaderText="Approving Route">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="StopBit" HeaderText="" HtmlEncode="False">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Name" HeaderText="Name">
                                <ItemStyle HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Title" HeaderText="Title">
                                <ItemStyle HorizontalAlign="Center" Width="200px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="Email">
                                <ItemStyle Width="200px" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                        </Columns>
                        <RowStyle CssClass="GridViewItem" />
                        <HeaderStyle CssClass="GridViewHeader" />
                    </asp:GridView>
                </td>
              </tr>
                </table>
            </td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>
